registerQuitHandler
Registers the handler method to be called when the application receives a request to quit.
public static final void registerQuitHandler ( MRJQuitHandler handler);
- handler
- The name of the method that handles the quit request.
DISCUSSION
You must have defined the handler method before calling this method.Java applications packaged with JBindery have a default Quit selection in the Apple Menu. However, to conform to Apple's human interface guidelines, you should replace the default Apple Menu (by defining a new menu in a resource of type
'MENU'
with ID 1128 when you package your application) and include a Quit selection in one of the Java-based menus (typically the File menu).SEE ALSO
ThehandleQuit
method (page 50).